<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>es6的模块化</title>
</head>
<body>

</body>
<script type="module">

    import module1 from './js/modue1.js'

    module1.foo("hello");

</script>
</html>